home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11385 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.ios.com!usenet
  2. From: joe_mcd@msn.com (joe mcdermott)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Calling Visual Basic Functions from C++
  5. Date: 14 Mar 1996 08:31:42 GMT
  6. Organization: Internet Online Services
  7. Message-ID: <4i8lhe$kpc@news.ios.com>
  8. References: <4i1jvb$s21@news.nstn.ca>
  9. NNTP-Posting-Host: 205.147.154.75
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=US-ASCII
  12. X-Newsreader: WinVN 0.99.6
  13.  
  14. In article <4i1jvb$s21@news.nstn.ca>, smss_pks@fox.nstn.ca     says...
  15. >
  16. >Is it possible to call a Visual Basic Function from a C program.  I am
  17. >able to call a C function from Visual Basic but can't do it in
  18. >reverse.
  19. >
  20. >If it is possible, how is the function defined in C.
  21. >
  22. >If you could  respond by e-mail it would be great.
  23. >
  24. >Thanks in advance.
  25. >
  26. >Paul Snow.
  27. >email: smss_pks@fox.nstn.ca
  28. >
  29.  
  30. Not directly.  But in VB4 you can create OLE public classes which can be
  31. called fom any OLE automation controller.  In general this is only interesting
  32. if you are using VC++ or other tool that can hide all the ugly OLE
  33. plumbing.
  34.  
  35. Joe McDermott
  36.  
  37.